package cn.iocoder.yudao.module.reading.controller.app.assignment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

/**
 * 提交作业完成记录 Request VO
 *
 * @author 芋道源码
 */
@Schema(description = "用户 APP - 提交作业完成记录 Request VO")
@Data
public class AssignmentCompleteReqVO {

    @Schema(description = "绘本ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "绘本ID不能为空")
    private Long bookId;

    @Schema(description = "完成类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "audio")
    @NotBlank(message = "完成类型不能为空")
    private String completionType;

    @Schema(description = "配音文件URL", example = "/static/recordings/user1_book1.mp3")
    private String recordingUrl;

}
